package com.jty.lib_base.room.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "book_note")
data class BookNote(@PrimaryKey() var id: Long,
                    @ColumnInfo(name = "name") var name: String = "",
                    @ColumnInfo(name = "pageNum ") var pageNum : Int, //这本书的总页数
                    @ColumnInfo(name = "lastPageNum ") var lastPageNum : Int = 0, //写的最新页码
                    @ColumnInfo(name = "allowWrite ") var allowWrite : Int = 0, //写的最新页码
                    @ColumnInfo(name = "coverUrl ") var coverUrl : String? //封面url
)
